﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Web;
using UApiService;

namespace UApiTrainExt.Activities
{
    public class ExtActivator : ActivatorBase
    {

        public override object GetSysValue(string symbolName)
        {
            switch (symbolName)
            {
                case "IPAddress":
                    return System.Web.HttpContext.Current.Request.UserHostAddress;
            }
            return base.GetSysValue(symbolName);
        }


    }
}
